package cn.sjxy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单信息实体类
 * 对应数据库表: orderinfo
 */
@TableName("orderinfo")
@Data
public class Md_OrderInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String orderCode;
    private Date orderDate;
    private String userCode;
    private BigDecimal totalMoney;
    private String receiveUser;
    private String receivePhone;
    private String receiveAddress;
    private String isPay;
    private Date payDate;
    private String isSend;
    private Date sendDate;
    private String sendNo;
    private String isReceive;
    private Date receiveDate;
    private String remark;

    // 非数据库字段，用于显示
    @TableField(exist = false)
    private String userName;  // 用户名称
}

